package com.liucc.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liucc.common.utils.PageUtils;
import com.liucc.gulimall.product.entity.AttrGroupEntity;

import java.util.Map;

/**
 * 属性分组
 *
 * @author liuchuangchuang
 * @email 2514573000@qq.com
 * @date 2023-11-25 18:11:55
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 携带条件查询三级分类的属性分组信息
     * 规定：如果categoryId为0，则是查询所有属性分组数据
     * @param params
     * @param categoryId
     * @return
     */
    PageUtils queryPage(Map<String, Object> params, Long categoryId);
}

